package com.leyou.auth.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author BaiZY on 2020/9/4.
 * @version 1.0
 */

@FeignClient("auth-service")
public interface AuthClient {
    @GetMapping("/client/key")
    String getSecretKey(@RequestParam("clientId")String clientId, @RequestParam("secret")String secret);
}
